
import pandas as pd
import os
from gov.gov_app import GOVTPDataSimulateApp

# 设置数据库的地址和端口
path1 = os.path.join(os.getcwd(), 'data\\10Wnh_location.csv')
destination_loc = pd.read_csv(path1, engine='python')

db_addr = '192.168.95.43'
db_port = 27017

app = GOVTPDataSimulateApp(
    __name__,
    db_addr=db_addr,
    db_port=db_port,
    destination_loc=destination_loc
)

app.run()
